//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<fx_base.fxh>
///	@path	~/xeres.engine/res/fx/include/
///	@date	2008/12/23
///	@desc	Effects base header.

// Helper functions.

// Transform vertex into view space.
float4 TransformPosition3( float3 Position )
{
	return mul( float4( Position.xyz , 1 ) , TransformWorldMatrix );
}

float4 TransformPosition4( float4 Position )
{
	return mul( float4( Position.xyz , 1 ) , TransformWorldMatrix );
}
